package com.szsh.aiot.hsm.service.impl;

import com.szsh.aiot.common.core.text.Convert;
import com.szsh.aiot.hsm.domain.camera.ICameraRemindsetting;
import com.szsh.aiot.hsm.mapper.ICameraRemindsettingMapper;
import com.szsh.aiot.hsm.service.IICameraRemindsettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-25
 */
@Service
public class ICameraRemindsettingServiceImpl implements IICameraRemindsettingService
{
    @Autowired
    private ICameraRemindsettingMapper iCameraRemindsettingMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param broadbandNO 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ICameraRemindsetting selectICameraRemindsettingByBroadbandNO(String broadbandNO)
    {
        return iCameraRemindsettingMapper.selectICameraRemindsettingByBroadbandNO(broadbandNO);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param iCameraRemindsetting 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ICameraRemindsetting> selectICameraRemindsettingList(ICameraRemindsetting iCameraRemindsetting)
    {
        return iCameraRemindsettingMapper.selectICameraRemindsettingList(iCameraRemindsetting);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param iCameraRemindsetting 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertICameraRemindsetting(ICameraRemindsetting iCameraRemindsetting)
    {
        return iCameraRemindsettingMapper.insertICameraRemindsetting(iCameraRemindsetting);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param iCameraRemindsetting 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateICameraRemindsetting(ICameraRemindsetting iCameraRemindsetting)
    {
        return iCameraRemindsettingMapper.updateICameraRemindsetting(iCameraRemindsetting);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param broadbandNOs 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteICameraRemindsettingByBroadbandNOs(String broadbandNOs)
    {
        return iCameraRemindsettingMapper.deleteICameraRemindsettingByBroadbandNOs(Convert.toStrArray(broadbandNOs));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param broadbandNO 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteICameraRemindsettingByBroadbandNO(String broadbandNO)
    {
        return iCameraRemindsettingMapper.deleteICameraRemindsettingByBroadbandNO(broadbandNO);
    }
}
